home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d909.lha / GoldED2 / Tools / HiSpeed / ARexxEDoc < prev    next >
Text File  |  1993-08-28  |  8KB  |  145 lines

  1. This text does describe HiSpeed's ARexx commands. Usually, you can
  2. operate the program from WB & ARexx simultanously. However, if you
  3. use the '-hide' option, HiSpeed won't open its window but stay in the
  4. background and wait for ARexx messages (there is only one way to get
  5. rid of HiSpeed if it hides in the background: send an ARexx 'QUIT'
  6. command). The ARexx commands of HiSpeed fall into three groups:
  7.  
  8. - functions to read variables/settings (Type QUERY)
  9. - functions to set these variables (Type SET)
  10. - and finally subroutine calls
  11.  
  12. A) AREXX
  13.  
  14.   You can access the ARexx port of HiSpeed either directly from
  15.   the shell (e.g. RX "ADDRESS HISPEED QUIT") or from any ARexx
  16.   script file - some examples:
  17.  
  18.   1.      /* all ARexx scripts begin with a comment */
  19.  
  20.           address HISPEED        /* talk to Hispeed             */
  21.           'REQUESTFILE'          /* ask for a file              */
  22.           'SET QUALITY HISPEED'  /* switch to hispeed mode      */
  23.           'SET DOUBLE'           /* order double sided printing */
  24.           'SET HEADER ON'        /* ask for page headers        */
  25.           'PRINT'                /* ... and start printing      */
  26.  
  27.   2.      /* ask for current font */
  28.  
  29.           address HISPEED        /* talk to HiSpeed             */
  30.           options results        /* we want results ...         */
  31.           'QUERY QUALITY'        /* query font                  */
  32.           say RESULT             /* show result                 */
  33.  
  34. B) AREXX commands
  35.  
  36.  Group 1 - set variables (SET); Syntax: SET <variable> <value>
  37.  
  38.   SET LAYOUTX <columns>....................... set columns
  39.   SET LAYOUTY <rows>.......................... set rows
  40.   SET LEFT <mm>............................... left border
  41.   SET RIGHT <mm>.............................. right border
  42.   SET TOP <mm>................................ top border
  43.   SET BOTTOM <mm>............................. bottom border
  44.   SET DX <mm>................................. space between columns
  45.   SET DY <mm>................................. space between rows
  46.   SET COPIES <number>......................... copies (max. 99)
  47.   SET FEED <0|1|2|3|4|5|6|7>.................. linefeed
  48.   SET PORT <'PAR:'|'SER:'|FILE>............... output port
  49.   SET OUTFILE '<full path>'................... output file
  50.   SET QUALITY <HISPEED|LQ|EDV|BOLD|BOLDEDV>... style
  51.   SET FILE '<full path>' ..................... add file to list
  52.   SET PERFORMESC [ON]|OFF] ................... perform ESC codes ?
  53.   SET PERFORMFF [ON|OFF] ..................... perform FF codes ?
  54.   SET NUMBER [ON|OFF] ........................ number lines ?
  55.   SET HEADER [OFF|NOHEADER|ON|INDEX] ......... header type
  56.   SET SIZE <Fontname> ........................ font
  57.   SET DOUBLE [ON|OFF] ........................ double sided ?
  58.   SET SINGLE [ON|OFF] ........................ dito.
  59.   SET SEPARATE [ON|OFF] ...................... draw lines ?
  60.   SET ADJUSTLF [ON|OFF] ...................... ignore LF ?
  61.   SET KEEPLF [ON|OFF] ........................ perform LF ?
  62.   SET REQUESTER [ON|OFF] ..................... no requesters ? (1)
  63.   SET ASK '<Text>' ........................... show YES/NO requester
  64.   SET WARN '<Text>' .......................... show I SEE requester
  65.   SET BOOK [ON|OFF] .......................... toggle book mode
  66.   SET COVER <coverfile> ...................... print a cover
  67.   SET KEYLIST <file> ......................... keyword file (*)
  68.   SET KEYCODE <character|OFF> ................ set keyword qualifier
  69.   SET PAPERX ................................. set paper width
  70.   SET PAPERY ................................. set paper height
  71.   SET PERFORATE [ON|OFF] ..................... prepare perforation ?
  72.   SET ORIENTATION <PORTRAIT|LANDSCAPE> ....... paper orientation
  73.   SET MSDOS [ON|OFF] ......................... toggle MS-DOS mode
  74.   SET UNIDIR [ON|OFF] ........................ uni/bidirectional
  75.   SET SCREEN <PubScreenName> ................. select a screen
  76.  
  77.  Group 2 - subroutines
  78.  
  79.   QUIT ....................................... quit HiSpeed
  80.   SLEEP ...................................... iconify
  81.   HIDE ....................................... hide in the background
  82.   OPENWIN .................................... open main window
  83.   SORTNAME ................................... sort jobs by name
  84.   SORTSIZE ................................... sort jobs by size
  85.   NEW ........................................ clear job list
  86.   CLR ........................................ dito.
  87.   REQUESTFILE ................................ ask for files
  88.   PRINT ...................................... print jobs
  89.   SCAN ....................................... scan jobs
  90.   VSCAN ...................................... dito. (visualize)
  91.   RESET ...................................... get default settings
  92.   INFO ....................................... show scan results
  93.   SAVECONFIG ................................. save settings
  94.  
  95.  Group 3 - read variables (QUERY)
  96.  
  97.  Syntax: QUERY <variable> [<qualifier>] (result is placed in RESULT)
  98.  
  99.   QUERY LAYOUTX .............................. layout (columns)
  100.   QUERY LAYOUTY .............................. layout (rows)
  101.   QUERY LEFT ................................. left border
  102.   QUERY RIGHT ................................ right border
  103.   QUERY TOP .................................. top border
  104.   QUERY BOTTOM ............................... bottom border
  105.   QUERY DX ................................... space between columns
  106.   QUERY DY ................................... space between rows
  107.   QUERY COPIES ............................... number of copies
  108.   QUERY FEED ................................. linefeed
  109.   QUERY PORT ................................. port
  110.   QUERY OUTFILE .............................. output file (port=FILE)
  111.   QUERY QUALITY .............................. style of printing
  112.   QUERY PERFORMESC ........................... perform ESC codes ?
  113.   QUERY PERFORMFF ............................ perfrom FF codes ?
  114.   QUERY NUMBER ............................... number lines ?
  115.   QUERY HEADER ............................... header type
  116.   QUERY SIZE ................................. font
  117.   QUERY DOUBLE ............................... printing mode
  118.   QUERY SINGLE ............................... dito.
  119.   QUERY SEPARATE ............................. draw lines ?
  120.   QUERY ADJUSTLF ............................. adjust-LF setting
  121.   QUERY KEEPLF ............................... dito.
  122.   QUERY BLOCKX ............................... characters/line
  123.   QUERY BLOCKY ............................... lines/block
  124.   QUERY PAGES ................................ required pages  (*)
  125.   QUERY SHEETS ............................... required sheets (*)
  126.   QUERY DISTORTIONS .......................... get distortions (*)
  127.   QUERY BYTES ................................ output size [bytes]
  128.   QUERY JOBS ................................. # of files to print
  129.   QUERY VERSION .............................. get version string
  130.   QUERY JOBNAME <slot> ....................... get a job's name
  131.   QUERY STATE ................................ read HiSpeed's state
  132.   QUERY JOBPAGE <slot> ....................... get job's page  (*)
  133.   QUERY BOOK ................................. book mode set ?
  134.   QUERY MAXLINE .............................. longest line    (*)
  135.   QUERY KEYCODE .............................. keyword qualifier
  136.   QUERY PERFORATE ............................ border handling
  137.   QUERY ORIENTATION .......................... paper orientation
  138.   QUERY MSDOS ................................ MS-DOS mode ?
  139.   QUERY UNIDIR ............................... uni/bidirectional ?
  140.  
  141.   (1) valid only for ARexx scripts (doesn't affect behaviour if
  142.       operated from the workbench)
  143.  
  144.   (*) these variables become valid after a SCAN (or VSCAN)
  145.